﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace WebApplication5
{
    public partial class _Default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            byte[] arr = Convert.FromBase64String("/wEPDwUKMTUyMDk1NTY2MGRkEpbKA2yVAcosFMBuj+Atad6xDX8MwrdYqb1spQQi22k=");
            string sss = System.Text.Encoding.ASCII.GetString(arr);
            byte[] buffer = System.Text.Encoding.UTF8.GetBytes("中国\n中国");
            string aaa = HttpUtility.UrlEncode("中国\n中国", System.Text.Encoding.GetEncoding("GB2312"));
            sss = System.Text.Encoding.GetEncoding("GB2312").GetString(buffer);
           // Response.Write(sss);
        }

        protected void Button1_Click(object sender, EventArgs e)
        {
            TextBox1.Text = "abc";
            
        }
    }
}
